package com.example.demo.service;

import com.example.demo.entity.Node;
import com.example.demo.entity.RouterTable;
import org.springframework.stereotype.Component;

import java.util.LinkedList;
import java.util.List;

@Component
public class RouterService {

    private List<RouterTable> routerTableList = new LinkedList<>();

    public RouterTable add(Node node) {
        
    }

    /**
     * 更新路由表
     */
    public RouterTable update() {

    }

    /**
     * 初始化路由表
     */
    public void initNetWork() {

    }
}
